package com.example.oms.common.enums;

public enum DeliveryCodeStatus {

    UNSENT("未发送", "UNSENT"),

    SENT("已发送", "SENT"),

    FAIL_TO_SEND("发送失败", "FAIL_TO_SEND"),

    UNUSED("未使用", "UNUSED"),

    IN_USED("使用中", "IN_USED"),

    HAVE_BEEN_USED("已使用", "HAVE_BEEN_USED");


    private String name;
    private String value;

    DeliveryCodeStatus(String name, String value) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return this.name;
    }

    public String getValue() {
        return this.value;
    }
}
